﻿using MySystemSetup.ISheepYardSer.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TodoApp.Dto;
using Volo.Abp.Application.Services;

namespace MySystemSetup.ISheepYard
{
    public interface ISheepYardAppService: IApplicationService
    {

        /// <summary>
        /// 添加单位信息
        /// </summary>
        /// <param name="add">要添加的实体</param>
        /// <returns>统一返回个格式</returns>
        Task<SzrApiResult<SheepYardAddDto>> AddSheepYardAsync(SheepYardAddDto add);

    }
}
